

// 设置用户信息
export const setUserInfo = (info) => {
    let info_string = JSON.stringify(info)

    window.sessionStorage.setItem('userInfo', info_string)
}

// 获取用户信息
export const getUserInfo = () => {
    let info_string = window.sessionStorage.getItem('userInfo')

    return JSON.parse(info_string)
}




